]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
panel: Update .solid style on session mode changes
authorFlorian Müllner <fmuellner@gnome.org>
Mon, 29 May 2017 15:20:36 +0000 (17:20 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Tue, 30 May 2017 09:41:35 +0000 (11:41 +0200)
The .solid style isn't supposed to apply for modes that don't support
windows, but for this to work we have to update the style on session
mode changes.

https://bugzilla.gnome.org/show_bug.cgi?id=783202

js/ui/panel.js

index a7d63d23c5bc86798d9121a04f6fbc082895e556..83fda0ea848395cb201afed6889a994c759bdff0 100644 (file)
@@ -1015,6 +1015,8 @@ const Panel = new Lang.Class({
         else
             Main.messageTray.bannerAlignment = Clutter.ActorAlign.CENTER;
 
+        this._updateSolidStyle();
+
         if (this._sessionStyle)
             this._removeStyleClassName(this._sessionStyle);